#!/bin/bash

exec_path=$(dirname "$0")

cd ${exec_path}


mkdir -p ../log
mkdir -p ../data

port=8081

../bin/victoria-metrics-prod -httpListenAddr=:${port} -promscrape.config=../conf/victoria_metrics.yml  -promscrape.config.strictParse=false -storageDataPath=../data -retentionPeriod 2 >> ../log/victoria_metrics.log 2>&1 &


sleep 1

netstat -ntlp | grep ${port}


